package com.dstz.bpm.engine.parser.flow;

import com.dstz.bpm.api.engine.plugin.def.BpmDef;
import com.dstz.bpm.api.model.form.DefaultForm;
import com.dstz.bpm.engine.model.DefaultBpmProcessDef;
import org.springframework.stereotype.Component;

@Component
public class InstMobileFormParse extends AbsFlowParse<DefaultForm> {
   @Override
   public String getKey() {
      return "instMobileForm";
   }

   @Override
   public void setDefParam(DefaultBpmProcessDef bpmProcessDef, Object object) {
      DefaultForm form = (DefaultForm)object;
      bpmProcessDef.setInstMobileForm(form);
   }

}
